package com.basker.pisces.service.exception;

import com.basker.pisces.service.constant.ServiceConstants;

/**
 * 签名异常抽象类
 *
 * @author hangwen
 */
public abstract class SignatureException extends RuntimeException implements IServiceErrorResult {

    private static final long serialVersionUID = -8988299755636506015L;

    public SignatureException(String message) {
        super(message);
    }

    @Override
    public int getStatus() {
        return ServiceConstants.StatusCode.SIGNATURE_VIOLATION;
    }

}
